<?php echo $header; ?>
<script type="text/javascript">
//-----------------------------------------
// Confirm Actions (delete, uninstall)
//-----------------------------------------
$(document).ready(function(){    	
    // Confirm Uninstall
    $('a').click(function(){
        if ($(this).attr('href') != null && $(this).attr('href').indexOf('install_sample', 1) != -1) {
            if (!confirm('<?php echo $text_confirm; ?>')) {
                return false;
            }
        }
    });
});
</script>
<div id="content">
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <?php if ($error_warning) { ?>
  <div class="warning"><?php echo $error_warning; ?></div>
  <?php } ?>
    <?php if ($success) { ?>
  <div class="success"><?php echo $success; ?></div>
  <?php } ?>
  <?php echo $shortcut_route;?> 
  <div class="box">
    <div class="heading">
      <h1><img src="view/image/setting.png" alt="" /> <?php echo $heading_title; ?></h1>
     
    </div>
    <div class="content">
     <?php echo $shortcut_module;?> 
      
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form" name="form">
      <input type="hidden" name="config_news_installed" value="<?php echo $config_news_installed;?>" />
      <input type="hidden" name="config_news_sample_installed" value="<?php echo $config_news_sample_installed;?>" />
      <table id="author_module" class="form" style="border-collapse: collapse;width: 100%;border: 1px solid #ddd;margin-bottom: 20px;">
          <thead>
            <tr style="background-color: rgb(244, 244, 248);">             
              <td align="right" style="padding: 7px;border-bottom: 1px solid #ddd;">
      <?php if(!$this->config->get('config_news_sample_installed')){?>
       <div class="buttons"><span style="margin-top:5px;"><?php echo $button_sample; ?>:</span> 
      <a href="<?php echo $sample; ?>" class="button"><span>Yes</span></a>      
      <a href="<?php echo $hide_sample; ?>" class="button"><span>No</span></a>
      </div>
      <?php }else{?>
      <div class="buttons">
      <a onclick="$('#form').submit();" class="button"><span><?php echo $button_save; ?></span></a>
      <a onclick="location = '<?php echo $cancel; ?>';" class="button"><span><?php echo $button_cancel; ?></span></a></div>
       <?php }?>
      </td>
            </tr>
          </thead>
      <?php if($this->config->get('config_news_sample_installed')){?>     
          <tbody>
            <tr>
            <td> 
             
        <h2>CANONICAL REFERENCE: </h2>
        <table class="form">
            <tr>
              <td><span class="required">*</span>Canonical Reference URL: </td>
              <td>
      <input type="text" name="config_news_canonical" value="<?php echo $config_news_canonical; ?>" size="50"/>
                </td>
            </tr>
            
            
         </table>
         
		 <table class="form">
            <tr>
              <td><?php echo $entry_related_catalog_status;?>  </td>
              <td> <?php if ($config_related_catalog_status) { ?>
                <input type="radio" name="config_related_catalog_status" value="1" checked="checked" />
                <?php echo $text_enabled; ?>
                <input type="radio" name="config_related_catalog_status" value="0" />
                <?php echo $text_disabled; ?>
                <?php } else { ?>
                <input type="radio" name="config_related_catalog_status" value="1" />
                <?php echo $text_enabled; ?>
                <input type="radio" name="config_related_catalog_status" value="0" checked="checked" />
                <?php echo $text_disabled; ?>
                <?php } ?>
                <script type="text/javascript"><!--
				$('input[name=\'config_related_catalog_status\']').bind('change', function() {
					if (this.value == '1') {
						$('#related_catalog').fadeIn(0);
					} else {
						$('#related_catalog').fadeOut(0);		
					}
				});
				$('input[name=\'config_related_catalog_status\']:checked').trigger('change');
				//--></script> 
                </td>
            </tr>
            </table>
            <div id="related_catalog">
          <h2><?php echo $text_related_category;?></h2>
                 <table class="form">
            <tr><td colspan="2">
             <div class="attention" style="width:50%;">Enabled this function, each Product Category you can choose Blog Category related, and Blog Category will be displayed in Product Category page at some position is: Content Top, Content Bottom and After Refine Search!</div>
            </td></tr>
                <tr>
              <td><?php echo $entry_related_catalog_position;?>  </td>
              <td>
      <select name="config_related_catalog_position">
                  <?php if ($config_related_catalog_position == 'content_top') { ?>
                  <option value="content_top" selected="selected"><?php echo $text_content_top; ?></option>
                  <?php } else { ?>
                  <option value="content_top"><?php echo $text_content_top; ?></option>
                  <?php } ?>
                  <?php if ($config_related_catalog_position == 'content_bottom') { ?>
                  <option value="content_bottom" selected="selected"><?php echo $text_content_bottom; ?></option>
                  <?php } else { ?>
                  <option value="content_bottom"><?php echo $text_content_bottom; ?></option>
                  <?php } ?>
                  <?php if ($config_related_catalog_position == 'refine_search') { ?>
                  <option value="refine_search" selected="selected"><?php echo $text_refine_search; ?></option>
                  <?php } else { ?>
                  <option value="refine_search"><?php echo $text_refine_search; ?></option>
                  <?php } ?>
                </select>      
                </td>
            </tr>
            <tr>
              <td><?php echo $entry_related_description_limit;?>  </td>
              <td>
      <input type="text" name="config_related_description_limit" value="<?php echo $config_related_description_limit; ?>" size="10"/>
      
                </td>
            </tr>
            <tr>
              <td><?php echo $entry_related_article_limit;?>  </td>
              <td>
      <input type="text" name="config_related_article_limit" value="<?php echo $config_related_article_limit; ?>" size="10"/>
      
                </td>
            </tr>
            
            <tr>
              <td><?php echo $entry_related_children_limit;?>  </td>
              <td>
      <input type="text" name="config_related_children_limit" value="<?php echo $config_related_children_limit; ?>" size="10"/>
      
                </td>
            </tr>
            
            <tr>
              <td><?php echo $entry_related_catalog_image_size;?>  </td>
              <td>
      <input type="text" name="config_related_catalog_image_width" value="<?php echo $config_related_catalog_image_width; ?>" size="5"/> x
      
      <input type="text" name="config_related_catalog_image_height" value="<?php echo $config_related_catalog_image_height; ?>" size="5"/>
      
                </td>
            </tr>
            
            </table>   
            </div>  
          <h2><?php echo $text_author_setting;?></h2>
            
        <table class="form">
        
            <tr>
              <td><?php echo $entry_notification_mail; ?></td>
              <td><?php if ($config_notification_mail) { ?>
                <input type="radio" name="config_notification_mail" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_notification_mail" value="0" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="config_notification_mail" value="1" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_notification_mail" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } ?></td>
            </tr>
            <tr>
              <td><?php echo $entry_notification_email;?>  </td>
              <td>
      <input type="text" name="config_notification_email" value="<?php echo $config_notification_email; ?>" size="50"/>
        <?php if ($error_email) { ?>
            <br/> <span class="error"><?php echo $error_email; ?></span>
            <?php } ?>
                </td>
            </tr>
            <tr>
              <td><?php echo $entry_author_account; ?></td>
              <td><select name="config_author_account_id">
                  <option value="0"><?php echo $text_none; ?></option>
                  <?php foreach ($informations as $information) { ?>
                  <?php if ($information['information_id'] == $config_author_account_id) { ?>
                  <option value="<?php echo $information['information_id']; ?>" selected="selected"><?php echo $information['title']; ?></option>
                  <?php } else { ?>
                  <option value="<?php echo $information['information_id']; ?>"><?php echo $information['title']; ?></option>
                  <?php } ?>
                  <?php } ?>
                </select></td>
                  </tr>
            
            <tr>
              <td><?php echo $entry_author_upload_allowed; ?></td>
              <td><textarea name="config_author_upload_allowed" cols="40" rows="5"><?php echo $config_author_upload_allowed; ?></textarea></td>
            </tr>
          
            <tr>
              <td><?php echo $entry_username_not_allowed; ?></td>
              <td><textarea name="config_username_not_allowed" cols="40" rows="5"><?php echo $config_username_not_allowed; ?></textarea></td>
            </tr>
            <tr>
              <td><?php echo $entry_author_register_status; ?></td>
              <td><?php if ($config_author_register_status) { ?>
                <input type="radio" name="config_author_register_status" value="1" checked="checked" />
                <?php echo $text_enabled; ?>
                <input type="radio" name="config_author_register_status" value="0" />
                <?php echo $text_disabled; ?>
                <?php } else { ?>
                <input type="radio" name="config_author_register_status" value="1" />
                <?php echo $text_enabled; ?>
                <input type="radio" name="config_author_register_status" value="0" checked="checked" />
                <?php echo $text_disabled; ?>
                <?php } ?></td>
            </tr>
            <tr>
              <td><?php echo $entry_author_approved; ?></td>
              <td><?php if ($config_author_approved) { ?>
                <input type="radio" name="config_author_approved" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_author_approved" value="0" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="config_author_approved" value="1" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_author_approved" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } ?></td>
            </tr>
            
            <tr>
              <td><?php echo $entry_author_article_status; ?></td>
              <td><?php if ($config_author_article_status) { ?>
                <input type="radio" name="config_author_article_status" value="1" checked="checked" />
                <?php echo $text_enabled; ?>
                <input type="radio" name="config_author_article_status" value="0" />
                <?php echo $text_disabled; ?>
                <?php } else { ?>
                <input type="radio" name="config_author_article_status" value="1" />
                <?php echo $text_enabled; ?>
                <input type="radio" name="config_author_article_status" value="0" checked="checked" />
                <?php echo $text_disabled; ?>
                <?php } ?></td>
            </tr>
            
            <tr>
              <td><?php echo $entry_author_article_approved; ?></td>
              <td><?php if ($config_author_article_approved) { ?>
                <input type="radio" name="config_author_article_approved" value="1" checked="checked" />
                <?php echo $text_publish; ?>
                <input type="radio" name="config_author_article_approved" value="0" />
                <?php echo $text_unpublish; ?>
                <?php } else { ?>
                <input type="radio" name="config_author_article_approved" value="1" />
                <?php echo $text_publish; ?>
                <input type="radio" name="config_author_article_approved" value="0" checked="checked" />
                <?php echo $text_unpublish; ?>
                <?php } ?></td>
            </tr>
            <tr>
              <td><?php echo $entry_author_delete_permission; ?></td>
              <td><?php if ($config_author_permission) { ?>
                <input type="radio" name="config_author_permission" value="0" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_author_permission" value="1" checked="checked" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="config_author_permission" value="0" checked="checked" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_author_permission" value="1" />
                <?php echo $text_no; ?>
                <?php } ?></td>
            </tr>
            <tr>
              <td><?php echo $entry_display_refer; ?></td>
              <td><?php if ($config_display_refer) { ?>
                <input type="radio" name="config_display_refer" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_display_refer" value="0" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="config_display_refer" value="1" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_display_refer" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } ?></td>
            </tr>
            
            <tr>
              <td><?php echo $entry_article_to_category; ?></td>
              <td><?php if ($config_article_category) { ?>
                <input type="radio" name="config_article_category" value="0" />
                <?php echo $text_multi; ?>
                <input type="radio" name="config_article_category" value="1" checked="checked" />
                <?php echo $text_single; ?>
                <?php } else { ?>
                <input type="radio" name="config_article_category" value="0" checked="checked" />
                <?php echo $text_multi; ?>
                <input type="radio" name="config_article_category" value="1" />
                <?php echo $text_single; ?>
                <?php } ?></td>
            </tr>
          </table>
            <h2>LISTING: </h2>
        <table class="form">
             <tr>
              <td><?php echo $entry_default_article_sort;?> </td>
              <td><select name="config_article_sort">
                  <?php if ($config_article_sort == 'p.date_added') { ?>
                  <option value="p.date_added" selected="selected"><?php echo $text_sort_date; ?></option>
                  <?php } else { ?>
                  <option value="p.date_added"><?php echo $text_sort_date; ?></option>
                  <?php } ?>                     
                  <?php if ($config_article_sort == 'p.sort_order') { ?>
                  <option value="p.sort_order" selected="selected"><?php echo $text_sort_order; ?></option>
                  <?php } else { ?>
                  <option value="p.sort_order"><?php echo $text_sort_order; ?></option>
                  <?php } ?>   
                  <?php if ($config_article_sort == 'pd.name') { ?>
                  <option value="pd.name" selected="selected"><?php echo $text_sort_name; ?></option>
                  <?php } else { ?>
                  <option value="pd.name"><?php echo $text_sort_name; ?></option>
                  <?php } ?>
                                 
                  <?php if ($config_article_sort == 'p.viewed') { ?>
                  <option value="p.viewed" selected="selected"><?php echo $text_sort_viewed; ?></option>
                  <?php } else { ?>
                  <option value="p.viewed"><?php echo $text_sort_viewed; ?></option>
                  <?php } ?>                 
                  <?php if ($this->config->get('config_comment_status')) {?>
                  <?php if ($config_article_sort == 'rating') { ?>
                  <option value="rating" selected="selected"><?php echo $text_sort_rating; ?></option>
                  <?php } else { ?>
                  <option value="rating"><?php echo $text_sort_rating; ?></option>
                  <?php } ?>
                  <?php }?>
                </select>
                </td>
            </tr>
            
            <tr>
              <td><?php echo $entry_default_article_order;?> </td>
              <td><select name="config_article_order" style="float:left;">
                  <?php if ($config_article_order == 'DESC') { ?>
                  <option value="DESC" selected="selected"><?php echo $text_order_desc; ?></option>
                  <?php } else { ?>
                  <option value="DESC"><?php echo $text_order_desc; ?></option>
                  <?php } ?>                  
                  <?php if ($config_article_order == 'ASC') { ?>
                  <option value="ASC" selected="selected"><?php echo $text_order_asc; ?></option>
                  <?php } else { ?>
                  <option value="ASC"><?php echo $text_order_asc; ?></option>
                  <?php } ?>
                </select> &nbsp;  &nbsp; &nbsp;  <?php echo $entry_desc_help ;?> &nbsp;  &nbsp; &nbsp; <?php echo $entry_asc_help ;?> 
                </td>
            </tr> 
         </table>
        <h2><?php echo $text_description;?></h2>
        <table class="form">
            <tr>
              <td><span class="required">*</span> <?php echo $entry_article_description_limit; ?></td>
              <td>
      <input type="number" name="article_description_limit" value="<?php echo $article_description_limit; ?>" size="5" nKeyPress="if((event.keyCode< 48)|| (event.keyCode > 57)) event.returnValue =false"/>
                <?php if ($error_article_description_limit) { ?>
                <span class="error"><?php echo $error_article_description_limit; ?></span>
                <?php } ?></td>
            </tr>
         </table>
         <h2><?php echo $text_date_format;?> </h2>
         
        <table class="form">
            <tr>
              <td><?php echo $entry_article_date_format; ?></td>
              <td>
         
         <select name="date_format">
                  <?php if ($config_article_date_format == 'd/m/Y') { ?>
                  <option value="d/m/Y" selected="selected">d/m/Y</option>
                  <?php } else { ?>
                  <option value="d/m/Y">d/m/Y</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'd/m/Y h:i:s') { ?>
                  <option value="d/m/Y h:i:s" selected="selected">d/m/Y h:i:s</option>
                  <?php } else { ?>
                  <option value="d/m/Y h:i:s">d/m/Y h:i:s</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'd/m/Y h:i:s A') { ?>
                  <option value="d/m/Y h:i:s A" selected="selected">d/m/Y h:i:s A</option>
                  <?php } else { ?>
                  <option value="d/m/Y h:i:s A">d/m/Y h:i:s A</option>
                  <?php } ?>
                  
                  <?php if ($config_article_date_format == 'd-m-Y') { ?>
                  <option value="d-m-Y" selected="selected">d-m-Y</option>
                  <?php } else { ?>
                  <option value="d-m-Y">d-m-Y</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'd-m-Y h:i:s') { ?>
                  <option value="d-m-Y h:i:s" selected="selected">d-m-Y h:i:s</option>
                  <?php } else { ?>
                  <option value="d-m-Y h:i:s">d-m-Y h:i:s</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'd-m-Y h:i:s A') { ?>
                  <option value="d-m-Y h:i:s A" selected="selected">d-m-Y h:i:s A</option>
                  <?php } else { ?>
                  <option value="d-m-Y h:i:s A">d-m-Y h:i:s A</option>
                  <?php } ?>
                  
                  <?php if ($config_article_date_format == 'd M Y') { ?>
                  <option value="d M Y" selected="selected">d M Y</option>
                  <?php } else { ?>
                  <option value="d M Y">d M Y</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'd M Y h:i:s') { ?>
                  <option value="d M Y h:i:s" selected="selected">d M Y h:i:s</option>
                  <?php } else { ?>
                  <option value="d M Y h:i:s">d M Y h:i:s</option>
                  <?php } ?>                  
                  <?php if ($config_article_date_format == 'd M Y h:i:s A') { ?>
                  <option value="d M Y h:i:s A" selected="selected">d M Y h:i:s A</option>
                  <?php } else { ?>
                  <option value="d M Y h:i:s A">d M Y h:i:s A</option>
                  <?php } ?>
                  
                  <?php if ($config_article_date_format == 'd-M-Y') { ?>
                  <option value="d-M-Y" selected="selected">d-M-Y</option>
                  <?php } else { ?>
                  <option value="d-M-Y">d-M-Y</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'd-M-Y h:i:s') { ?>
                  <option value="d-M-Y h:i:s" selected="selected">d-M-Y h:i:s</option>
                  <?php } else { ?>
                  <option value="d-M-Y h:i:s">d-M-Y h:i:s</option>
                  <?php } ?>                  
                  <?php if ($config_article_date_format == 'd-M-Y h:i:s A') { ?>
                  <option value="d-M-Y h:i:s A" selected="selected">d-M-Y h:i:s A</option>
                  <?php } else { ?>
                  <option value="d-M-Y h:i:s A">d-M-Y h:i:s A</option>
                  <?php } ?>
                  
                  
                  <?php if ($config_article_date_format == 'Y/m/d') { ?>
                  <option value="Y/m/d" selected="selected">Y/m/d</option>
                  <?php } else { ?>
                  <option value="Y/m/d">Y/m/d</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'Y/m/d h:i:s') { ?>
                  <option value="Y/m/d h:i:s" selected="selected">Y/m/d h:i:s</option>
                  <?php } else { ?>
                  <option value="Y/m/d h:i:s">Y/m/d h:i:s</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'Y/m/d h:i:s A') { ?>
                  <option value="Y/m/d h:i:s A" selected="selected">Y/m/d h:i:s A</option>
                  <?php } else { ?>
                  <option value="Y/m/d h:i:s A">Y/m/d h:i:s A</option>
                  <?php } ?>
                  
                                    <?php if ($config_article_date_format == 'Y-m-d') { ?>
                  <option value="Y-m-d" selected="selected">Y-m-d</option>
                  <?php } else { ?>
                  <option value="Y-m-d">Y-m-d</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'Y-m-d h:i:s') { ?>
                  <option value="Y-m-d h:i:s" selected="selected">Y-m-d h:i:s</option>
                  <?php } else { ?>
                  <option value="Y-m-d h:i:s">Y-m-d h:i:s</option>
                  <?php } ?>
                  <?php if ($config_article_date_format == 'Y-m-d h:i:s A') { ?>
                  <option value="Y-m-d h:i:s A" selected="selected">Y-m-d h:i:s A</option>
                  <?php } else { ?>
                  <option value="Y-m-d h:i:s A">Y-m-d h:i:s A</option>
                  <?php } ?>
                  
                </select> <input type="text" name="config_article_date_format" value="<?php echo $config_article_date_format;?>" size="10" style="color:#f00;"/></td>
                <script type="text/javascript"><!--
			$('select[name=\'date_format\']').bind('change', function() {
			var format=this.value;
				$('input[name=\'config_article_date_format\']').val(format);
			});
			//--></script> 
            </tr>
         </table>
                
        <h2><?php echo $text_image_size;?></h2>
            <table class="form">
            <tr>
              <td><span class="required">*</span> <?php echo $entry_article_category; ?></td>
              <td><input type="text" name="config_article_category_width" value="<?php echo $config_article_category_width; ?>" size="3" />
                x
                <input type="text" name="config_article_category_height" value="<?php echo $config_article_category_height; ?>" size="3" />
                <?php if ($error_image_article_category) { ?>
                <span class="error"><?php echo $error_image_article_category; ?></span>
                <?php } ?></td>
            </tr>
            <tr>
              <td><span class="required">*</span> <?php echo $entry_image_article; ?></td>
              <td><input type="text" name="config_image_article_width" value="<?php echo $config_image_article_width; ?>" size="3" />
                x
                <input type="text" name="config_image_article_height" value="<?php echo $config_image_article_height; ?>" size="3" />
                <?php if ($error_image_article) { ?>
                <span class="error"><?php echo $error_image_article; ?></span>
                <?php } ?></td>
            </tr>
            
            <tr>
              <td><span class="required">*</span> <?php echo $entry_image_column; ?></td>
              <td><input type="text" name="config_image_column_width" value="<?php echo $config_image_column_width; ?>" size="3" />
                x
                <input type="text" name="config_image_column_height" value="<?php echo $config_image_column_height; ?>" size="3" />
                <?php if ($error_image_article) { ?>
                <span class="error"><?php echo $error_image_article; ?></span>
                <?php } ?></td>
            </tr>
            <tr>
              <td><span class="required">*</span> <?php echo $entry_article_thumb; ?></td>
              <td><input type="text" name="config_article_thumb_width" value="<?php echo $config_article_thumb_width; ?>" size="3" />
                x
                <input type="text" name="config_article_thumb_height" value="<?php echo $config_article_thumb_height; ?>" size="3" />
                <?php if ($error_image_article_thumb) { ?>
                <span class="error"><?php echo $error_image_article_thumb; ?></span>
                <?php } ?></td>
            </tr>
            <tr>
              <td><span class="required">*</span> <?php echo $entry_article_popup; ?></td>
              <td><input type="text" name="config_article_popup_width" value="<?php echo $config_article_popup_width; ?>" size="3" />
                x
                <input type="text" name="config_article_popup_height" value="<?php echo $config_article_popup_height; ?>" size="3" />
                <?php if ($error_image_article_popup) { ?>
                <span class="error"><?php echo $error_image_article_popup; ?></span>
                <?php } ?></td>
            </tr>
            <tr>
              <td><span class="required">*</span> <?php echo $entry_article_additional; ?></td>
              <td><input type="text" name="config_article_additional_width" value="<?php echo $config_article_additional_width; ?>" size="3" />
                x
                <input type="text" name="config_article_additional_height" value="<?php echo $config_article_additional_height; ?>" size="3" />
                <?php if ($error_image_article_additional) { ?>
                <span class="error"><?php echo $error_image_article_additional; ?></span>
                <?php } ?></td>
            </tr>
            <tr>
              <td><span class="required">*</span> <?php echo $entry_article_related; ?></td>
              <td><input type="text" name="config_article_related_width" value="<?php echo $config_article_related_width; ?>" size="3" />
                x
                <input type="text" name="config_article_related_height" value="<?php echo $config_article_related_height; ?>" size="3" />
                <?php if ($error_image_article_related) { ?>
                <span class="error"><?php echo $error_image_article_related; ?></span>
                <?php } ?></td>
            </tr>
            </table>     
        <h2>Downloads</h2>
         <table class="form">     
            <tr>
              <td><?php echo $entry_upload_allowed; ?></td>
              <td><textarea name="config_news_upload_allowed" cols="40" rows="5"><?php echo $config_news_upload_allowed; ?></textarea></td>
            </tr>   
            <tr>
              <td><?php echo $entry_login_to_download; ?></td>
              <td><?php if ($config_login_to_download) { ?>
                <input type="radio" name="config_login_to_download" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_login_to_download" value="0" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="config_login_to_download" value="1" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_login_to_download" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } ?></td>
            </tr>       
          </table>
        <h2><?php echo $text_comment;?></h2>    
         <table class="form">     
            <tr>
              <td><?php echo $entry_comment; ?></td>
              <td><?php if ($config_comment_status) { ?>
                <input type="radio" name="config_comment_status" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_comment_status" value="0" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="config_comment_status" value="1" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_comment_status" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } ?></td>
            </tr>
             <tr>
              <td><?php echo $entry_comment_email; ?></td>
              <td><?php if ($config_comment_email) { ?>
                <input type="radio" name="config_comment_email" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_comment_email" value="0" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="config_comment_email" value="1" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_comment_email" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } ?></td>
            </tr>
            <tr>
              <td><?php echo $entry_comment_approved; ?></td>
              <td><?php if ($config_comment_approved) { ?>
                <input type="radio" name="config_comment_approved" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_comment_approved" value="0" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="config_comment_approved" value="1" />
                <?php echo $text_yes; ?>
                <input type="radio" name="config_comment_approved" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } ?></td>
            </tr>
            </table>
            
            </td>            
            </tr>
           
            
          </tbody>  
           <?php }?>        
        </table>
          
          
      </form>
    </div>
  </div>
</div>
<script type="text/javascript"><!--
$('.breadcrumb .opencartplus').remove();
$('title').html('Easy News Setting');
//--></script> 
<?php echo $footer; ?>